﻿using System.ComponentModel.DataAnnotations;

namespace INSE6260.OnlineBanking.Model.Accounts
{
    public class AccountInfo
    {
        public OccupationType.OccupationType OccupationType { get; set; }

        public EmploymentType.EmploymentType EmploymentType { get; set; }
        [Required(AllowEmptyStrings = false, ErrorMessage = "Email can not be null.")]
        public string Email { get; set; }
        [Required(AllowEmptyStrings = false, ErrorMessage = "Address can not be null.")]
        public string Address { get; set; }
        [Required(AllowEmptyStrings = false, ErrorMessage = "Telephone can not be null.")]
        public string Telephone { get; set; }

        public AccountType AccountType { get; set; }

        public string AccountDesc { get; set; }

        public int OccupationTypeId { get; set; }

        public int EmploymentTypeId { get; set; }

    }
}
